package health.lm.com.shop.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Android Studio .
 * Project：hlian health.lm.com.shop.entity
 * Date：2019/8/14 17:19
 * Introduce：人脉连首页
 */
public class PeopleChainEntity {
    @SerializedName("bussiness_info")
    private MyBusinessEntity my_business;
    @SerializedName("banner_list")
    private List<BannerEntity> banner;
    @SerializedName("bussiness_list")
    private List<RecommendEntity> recommend;
    @SerializedName("recommend_connection")
    private List<DiscoverEntity> discover;
    @SerializedName("news_category")
    private List<CompanyDynamicEntity> dynamic;
    @SerializedName("recommend_bussiness")
    private List<HLAllCompanyEntity> business_recommend;

    public MyBusinessEntity getMy_business() {
        return my_business;
    }

    public void setMy_business(MyBusinessEntity my_business) {
        this.my_business = my_business;
    }

    public List<BannerEntity> getBanner() {
        return banner;
    }

    public void setBanner(List<BannerEntity> banner) {
        this.banner = banner;
    }

    public List<RecommendEntity> getRecommend() {
        return recommend;
    }

    public void setRecommend(List<RecommendEntity> recommend) {
        this.recommend = recommend;
    }

    public List<DiscoverEntity> getDiscover() {
        return discover;
    }

    public void setDiscover(List<DiscoverEntity> discover) {
        this.discover = discover;
    }

    public List<CompanyDynamicEntity> getDynamic() {
        return dynamic;
    }

    public void setDynamic(List<CompanyDynamicEntity> pDynamic) {
        dynamic = pDynamic;
    }

    public List<HLAllCompanyEntity> getBusiness_recommend() {
        return business_recommend;
    }

    public void setBusiness_recommend(List<HLAllCompanyEntity> business_recommend) {
        this.business_recommend = business_recommend;
    }

    public static class MyBusinessEntity {
        private String id;
        @SerializedName("avatar")
        private String image;
        @SerializedName("title")
        private String name;
        @SerializedName("member_num")
        private String member;

        public String getId() {
            return id;
        }

        public void setId(String pId) {
            id = pId;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMember() {
            return member;
        }

        public void setMember(String member) {
            this.member = member;
        }
    }

    public static class BannerEntity {
        private String id;
        @SerializedName("thumb")
        private String image;
        @SerializedName("link")
        private String url;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

    public static class RecommendEntity {
        private String id;
        @SerializedName("avatar")
        private String image;
        @SerializedName("title")
        private String name;
        @SerializedName("member")
        private List<String> avatar;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<String> getAvatar() {
            return avatar;
        }

        public void setAvatar(List<String> avatar) {
            this.avatar = avatar;
        }
    }

    public static class DiscoverEntity {
        private String id;
        private String avatar;
        @SerializedName("duties")
        private String position;
        @SerializedName("bussiness_title")
        private String business;
        private String real_name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getBusiness() {
            return business;
        }

        public void setBusiness(String business) {
            this.business = business;
        }

        public String getReal_name() {
            return real_name;
        }

        public void setReal_name(String pReal_name) {
            real_name = pReal_name;
        }
    }
}
